Package com.cisco.pt.mu
Class MULinkUpdMessage
java.lang.Object
com.cisco.pt.impl.LTVImpl
com.cisco.pt.mu.MultiUserMessage
com.cisco.pt.mu.MULinkUpdMessage
- All Implemented Interfaces:
LTV
This is a name update message from PT.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanintbooleanintintbooleanintbooleanintbooleanbooleanintintstatic intstatic intstatic intstatic intintintbooleanintintbooleanbooleanbooleanFields inherited from class com.cisco.pt.mu.MultiUserMessage
ePtmpMUMsg, PTMP_TYPE_MUCONIN, PTMP_TYPE_MUCONOUT, PTMP_TYPE_MULINKUPDATE, PTMP_TYPE_MULINKUPDATESTATUS, PTMP_TYPE_MUNAMEUPDATE, PTMP_TYPE_MUNEGOREQ, PTMP_TYPE_MUNEGORESP, PTMP_TYPE_MUPDU, PTMP_TYPE_MUPORTADV, PTMP_TYPE_MUSAVENETREQ, PTMP_TYPE_MUSAVENETRESPFields inherited from interface com.cisco.pt.LTV
AUTH_CHALLENGE_TYPE, AUTH_REQUEST_TYPE, AUTH_RESPONSE_TYPE, AUTH_STATUS_TYPE, DISCONNECT_MESSAGE_TYPE, IPC_ERROR_TYPE, IPC_EVENT_SUBSCRIPTION_TYPE, IPC_EVENT_TYPE, IPC_MESSAGE_TYPE, IPC_RESPONSE_TYPE, KEEP_ALIVE_MESSAGE_TYPE, MULTI_USER_MESSAGE_TYPE, NEGOTIATION_MESSAGE_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionThis function creates a link update message for the MU protocol. -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) Serializes the message into a PtmpBuffer.static MULinkUpdMessagegetMessage(EncodedBuffer buffer) A deserialization function that creates a new message from a PtmpBuffer object.toString()Converts this message into a string for debugging purposesMethods inherited from class com.cisco.pt.mu.MultiUserMessage
isConInput, isConOutput, isLinkUpdate, isLinkUpdateStatus, isMuMessage, isPDU, isPortAdv, isSaveRequest, isSaveResponseMethods inherited from class com.cisco.pt.impl.LTVImpl
getLength, getMessageId, getNextMessageId, getType, getValue, hasResponse, isEvent, isResponse, setLength, setType, setValue
-
Field Details
-
linkOpId
public int linkOpId -
opType
public int opType -
linkId
public int linkId -
linkUuid
-
portId
public int portId -
deviceType
public int deviceType -
cableType
public int cableType -
portName
-
portType
public int portType -
portPower
public boolean portPower -
straightPins
public boolean straightPins -
autoCross
public boolean autoCross -
bandwidth
public int bandwidth -
fullDuplex
public boolean fullDuplex -
autoNegotiate
public boolean autoNegotiate -
bandwidthAutoNegotiate
public boolean bandwidthAutoNegotiate -
duplexAutoNegotiate
public boolean duplexAutoNegotiate -
clockRate
public int clockRate -
dcePort
public boolean dcePort -
defaultPowerInline
public int defaultPowerInline -
powerInline
public int powerInline -
RequirePowerInline
public boolean RequirePowerInline -
ProvidingPowerInline
public boolean ProvidingPowerInline -
DevicePower
public boolean DevicePower -
OP_MAKE
public static int OP_MAKE -
OP_UPDATE
public static int OP_UPDATE -
OP_DISCONNECT
public static int OP_DISCONNECT -
OP_DELETE
public static int OP_DELETE
-
-
Constructor Details
-
MULinkUpdMessage
public MULinkUpdMessage()This function creates a link update message for the MU protocol.
-
-
Method Details
-
getMessage
A deserialization function that creates a new message from a PtmpBuffer object.- Parameters:
buffer- The PtmpBuffer to get from- Returns:
- A new instance of a MULinkUpdMessage class get from the buffer
-
encodeTypeAndPayload
Serializes the message into a PtmpBuffer.- Specified by:
encodeTypeAndPayloadin interfaceLTV- Overrides:
encodeTypeAndPayloadin classLTVImpl- Parameters:
buffer- The PtmpBuffer to put the message into
-
toString
Converts this message into a string for debugging purposes- Overrides:
toStringin classMultiUserMessage- Returns:
- A string representation of this message
-